package com.atguigu.mapper;



import com.atguigu.pojo.Dict;
import com.atguigu.pojo.Permission;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface DictDao /*extends BaseDao<Dict>*/ {
    List<Dict> findZnodesByParentId(Long id);

    Integer countIsParent(Long id);

    Dict findListByDictCode(String dictCode);

    String getNameById(Long id);
   List<Permission> findAllTree();
    List<Permission>  findAll();
}
